package com.material.vtool.mapper;

import com.material.vtool.entity.BUserDownloadInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDownloadInfoMapper {
    Integer insertObject(@Param("userId") Integer userId, @Param("materialId") Integer materialId);

    BUserDownloadInfoEntity getUserDownloadInfo(@Param("userId") Integer userId, @Param("materialId") Integer materialId);

    Integer updateUserDownLoad(BUserDownloadInfoEntity bUserDownloadInfoEntity);
}
